
#pragma once

#include <IImage.h>
using namespace irr;
using namespace video;

namespace Irrlicht
{
	namespace Net
	{
		namespace Video
		{
			public ref class ImageLoader : public ReferenceCounted
			{
			private:
				IImageLoader* insider;

			public:
				ImageLoader(IImageLoader* iil)
				{
					insider = iil;
				}

				bool IsALoadableFileExtension(String^ path)
				{
					return insider->isALoadableFileExtension(MarshalString(path));
				}
			};
		}
	}
}